package com.yydream.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class UserRelationRoleDTO extends BaseDTO {

    @NotNull(message = "用户id不能为空")
    @ApiModelProperty(name = "用户id")
    private Long userId;

    @ApiModelProperty(name = "角色id集合", notes = "数组集合")
    private List<Long> roleIds;

}